﻿

using System;
using System.ServiceModel;

namespace DemoContract.Contract
{
    [ServiceContract(Name = "CalculatorService", Namespace = "www.demo.com")]
    public interface ICalculator
    {
        [OperationContract]
        double Add(double x,double y);

        [OperationContract]
        double Subtract(double x,double y);

        [OperationContract]
        double Multiply(double x,double y);

        [OperationContract]
        double Divide(double x, double y);
    }
}
